}
function doSubmit() {
- global $wgOut, $wgUser, $wgRequest, $wgReadOnlyFile;
+ global $wgOut, $wgRequest, $wgReadOnlyFile;
$wpLockConfirm = $wgRequest->getCheck( 'wpLockConfirm' );
if ( ! $wpLockConfirm ) {
}
function showSuccess() {
- global $wgOut, $wgUser;
+ global $wgOut;
global $ip;
$wgOut->setPagetitle( wfMsg( "unlockdb" ) );